import * as React from 'react';
import {observer} from 'mobx-react'
import ECharts from "echarts-for-react";
import { optionConfig } from './optionConfig'

@observer
class Map extends React.Component {

    constructor(props) {
        super(props);
    }

    public render() {
        return (
            <ECharts
                option={optionConfig}
                style={{
                    height: '100%',
                    width: '100%',
                    top: '0%',
                    position: 'relative',
                }}
                notMerge
                lazyUpdate
            />
        );
    }
}

export default Map;
